﻿using System;

public interface InterfaceA
{
    void PrintCapitalLetter();
}

public interface InterfaceB
{
    void PrintLowercaseLetter();
}

public class Print : InterfaceA, InterfaceB
{
    
    public void PrintCapitalLetter()
    {
        Console.WriteLine("大写英文字母表:");
        for (char c = 'A'; c <= 'Z'; c++)
        {
            Console.Write(c + " ");
        }
        Console.WriteLine();
    }

    public void PrintLowercaseLetter()
    {
        Console.WriteLine("小写英文字母表:");
        for (char c = 'a'; c <= 'z'; c++)
        {
            Console.Write(c + " ");
        }
        Console.WriteLine();
    }
}

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("=== 字母表打印程序 ===\n");

        Print a = new Print();
        a.PrintCapitalLetter(); 

        Console.WriteLine();

        Print b = new Print();
        b.PrintLowercaseLetter(); 
    }
}